﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace _2112A_2_MES._XiangHe
{
    /// <summary>
    /// 供应商表2
    /// </summary>
    public class SalesReturn : Entity<int>
    {
        /// <summary>
        /// 退货单编号，最大长度64
        /// </summary>
        public string? ReturnCode { get; set; }

        /// <summary>
        /// 退货单名称，最大长度255
        /// </summary>
        public string? ReturnName { get; set; }

        /// <summary>
        /// 采购单编号，最大长度64
        /// </summary>
        public string? PurchaseCode { get; set; }

        /// <summary>
        /// 供应商名称，最大长度255
        /// </summary>
        public string? VendorName { get; set; }

        /// <summary>
        /// 批次号，最大长度64
        /// </summary>
        public string? BatchCode { get; set; }

        /// <summary>
        /// 仓库ID
        /// </summary>
        public int? WareHouseId { get; set; }

        /// <summary>
        /// 仓库编号，最大长度64
        /// </summary>
        public string? WareHouseCode { get; set; }

        /// <summary>
        /// 仓库名称，最大长度255
        /// </summary>
        public string? WareHouseName { get; set; }

        /// <summary>
        /// 库位ID
        /// </summary>
        public int? LocationId { get; set; }

        /// <summary>
        /// 库位编号，最大长度64
        /// </summary>
        public string? LocationCode { get; set; }

        /// <summary>
        /// 库位名称，最大长度255
        /// </summary>
        public string? LocationName { get; set; }

        /// <summary>
        /// 库区ID
        /// </summary>
        public int? AreaId { get; set; }

        /// <summary>
        /// 库区编号，最大长度64
        /// </summary>
        public string? AreaCode { get; set; }

        /// <summary>
        /// 库区名称，最大长度255
        /// </summary>
        public string? AreaName { get; set; }

        /// <summary>
        /// 退货日期
        /// </summary>
        public DateTime? ReturnDate { get; set; }

        /// <summary>
        /// 退货原因，最大长度255
        /// </summary>
        public string? Reason { get; set; }

        /// <summary>
        /// 状态，最大长度64
        /// </summary>
        public string? Status { get; set; }

        /// <summary>
        /// 备注，最大长度500
        /// </summary>
        public string? Remark { get; set; }

        /// <summary>
        /// 创建者，最大长度64
        /// </summary>
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新者，最大长度64
        /// </summary>
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
